package com.lq.filestudy.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.concurrent.ExecutionException;

public interface FileMangerService {
    void downLoad(String path,HttpServletResponse response) throws IOException;

    void press(MultipartFile zipFile, HttpServletResponse response) throws IOException, ExecutionException, InterruptedException;

    void unzipPress(String zipPath, String desDir);
}
